
import request from '@shared/apis/request';
import * as apis from '@shared/apis';

/**
 * 更新客户
 * @param params - 更新客户所需的参数
 */
export async function post(params: IParams) {
    const url = `/customers/update`;
    await request.post<void>(url, params);
    return params;
}

export interface IParams extends apis.customers.ICustomer {
}